<?php

namespace App\Http\Controllers\Api\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Facades\Services\CaseTypeService;

class CaseTypeController extends Controller
{   
    /*
    新建
     */
    public function create(Request $request){

        CaseTypeService::create($request);

        return formatJsonResponse();
    }

    /*
    修改
     */
    public function update(Request $request){

        CaseTypeService::update($request);

        return formatJsonResponse();
    }

    /*
    删除
     */
    public function delete(Request $request){
        CaseTypeService::delete($request);

        return formatJsonResponse();
    }
}
